import request from '@/utils/request'

// 查询点评信息记录列表
export function listCommentRecord(query) {
  return request({
    url: '/customer/commentRecord/list',
    method: 'get',
    params: query
  })
}

// 查询点评信息记录列表
export function noListCommentRecord(query) {
  return request({
    url: '/customer/commentRecord/noList',
    method: 'get',
    params: query
  })
}

// 查询点评信息记录详细
export function getCommentRecord(id) {
  return request({
    url: '/customer/commentRecord/' + id,
    method: 'get'
  })
}

// 新增点评信息记录
export function addCommentRecord(data) {
  return request({
    url: '/customer/commentRecord',
    method: 'post',
    data: data
  })
}

// 修改点评信息记录
export function updateCommentRecord(data) {
  return request({
    url: '/customer/commentRecord',
    method: 'put',
    data: data
  })
}

// 删除点评信息记录
export function delCommentRecord(id) {
  return request({
    url: '/customer/commentRecord/' + id,
    method: 'delete'
  })
}
